package excercise;

public class Q40_books {
	public static void main(String[] args) {
		
	/*booksVo mno = new booksVo();
	System.out.println(mno.getmno());
	booksVo tle = new booksVo();
	System.out.println(tle.gettitle());
	booksVo ter = new booksVo();
	System.out.println(ter.getwriter());

	booksVo mno1 = new booksVo();
	System.out.println(mno1.getmno());
	booksVo tle1 = new booksVo();
	System.out.println(tle1.gettitle());
	booksVo ter1 = new booksVo();
	System.out.println(ter1.getwriter());
	System.out.println(mno);
	System.out.println(mno1);
	if(mno.equals(mno1)){
		
		System.out.println("같음");
	} else
		System.out.println("다름");
}*/
} // 클래스
class booksVo{
	private String mno;
	private String title;
	private String writer;
	// 생성자
	public booksVo() {
		this.mno = ""; this.title = ""; this.writer = "";
	}
	public booksVo(String mno , String title, String writer) {
		this.mno = mno; this.title = title; this.writer = writer;
	}
	// setter/getter 메서드
	public void setMno(String mno){this.mno = mno;}
	public void settitle(String title){this.title = title;}
	public void setWriter(String writer){this.writer = writer;}
	public String getMno(String mno){return mno;}
	public String gettitle(String title){return title;}
	public String getwriter(String writer){return writer;}
	//equals
	public boolean equasls(Object obj){
		return super.equals(obj);
	}
}
}
